From: Debian Haskell Group Date: Tue, 29 Aug 2017 21:10:26 +0000 (+0100) Subject: x32-use-native-x86_64-insn X-Git-Tag: archive/raspbian/8.0.2-10+rpi1^2~5 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=bf3a2b4ebb45a6f9fe0d2a2b1a374a710576fb7b;p=ghc.git x32-use-native-x86_64-insn Gbp-Pq: Name x32-use-native-x86_64-insn.patch --- diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c index fec5cfc0..05c87879 100644 --- a/rts/RtsSymbols.c +++ b/rts/RtsSymbols.c @@ -857,7 +857,7 @@ // 64-bit support functions in libgcc.a -#if defined(__GNUC__) && SIZEOF_VOID_P <= 4 && !defined(_ABIN32) +#if defined(__GNUC__) && SIZEOF_VOID_P <= 4 && !defined(_ABIN32) && !(defined(__x86_64__) && defined(__ILP32__)) #define RTS_LIBGCC_SYMBOLS \ SymI_NeedsProto(__divdi3) \ SymI_NeedsProto(__udivdi3) \